#ifndef MYSTYLEDITEMDELEGATE_H
#define MYSTYLEDITEMDELEGATE_H

#include <QPainter>
#include <QStyledItemDelegate>
#include <QStyleOptionViewItem>
#include <QModelIndex>

class MyStyledItemDelegate : public QStyledItemDelegate
{
    Q_OBJECT
public:
    MyStyledItemDelegate(QObject *parent = 0);

public:
    virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
                       const QModelIndex &index) const;
};

#endif // MYSTYLEDITEMDELEGATE_H
